/**
 * FakeNetMan.java
 * ************************** 
 * @date Apr 11, 2011
 * @author Michele Tamburini
 * 
 * **************************
 */
package JUnitTests;

import java.net.InetAddress;
import java.rmi.NotBoundException;
import java.rmi.RemoteException;

import networkRmi.NetworkManager;

import messages.Message;
import messages.MessageHandler;


/**
 * Description: 
 *
 */
public class FakeNetMan implements NetworkManager {

	@Override
	public String getNodeName() {
		return new String("");
	}

	@Override
	public void registerService(MessageHandler handler) {
		// TODO Auto-generated method stub

	}

	@Override
	public void send(Message msg, InetAddress destHost) throws RemoteException,
			NotBoundException {
		// TODO Auto-generated method stub

	}

	@Override
	public Class<?> getServiceClass() {
		return NetworkManager.class;
	}

	@Override
	public void deRegisterService(MessageHandler handler) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public boolean ping(InetAddress node, String service)
			throws RemoteException, NotBoundException {
		// TODO Auto-generated method stub
		return false;
	}

}
